package com.yc.multiple.service;

import com.yc.multiple.bean.order.Order;
import com.yc.multiple.bean.paycenter.Paycenter;
import com.yc.multiple.dao.order.OrderDao;
import com.yc.multiple.dao.paycenter.PaycenterDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderService {

    @Autowired
    private OrderDao orderDao;

    public List<Order> listOrder(){
        return orderDao.selectAll();
    }
}
